package com.kaifamiao.thread.d0928;

public class Demo01 {

    public static void main(String[] args) {
        Thread thread = new Thread(() ->{
            while (true){

            }
        });
        // 守护线程
        thread.setDaemon(true);

        thread.start();
    }
}
